package com.example.clxy.result.business.PageResult;

import com.example.clxy.result.Page;
import com.fasterxml.jackson.annotation.JsonFormat;

import java.util.Date;

/**
 * @author Hsieh
 * @title: SchoolPageResult
 * @projectName clxy
 * @description: TODO
 * @date 2020/8/1213:48
 */
public class SchoolPageResult extends Page {
    private String schoolid;

    private String schoolname;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date createdTime;
    @JsonFormat(pattern="yyyy-MM-dd HH:mm:ss",timezone="GMT+8")
    private Date updatedTime;

    private String remark;

    public SchoolPageResult(String schoolid, String schoolname, Date createdTime, Date updatedTime, String remark) {
        this.schoolid = schoolid;
        this.schoolname = schoolname;
        this.createdTime = createdTime;
        this.updatedTime = updatedTime;
        this.remark = remark;
    }

    public SchoolPageResult() {
        super();
    }

    public String getSchoolid() {
        return schoolid;
    }

    public void setSchoolid(String schoolid) {
        this.schoolid = schoolid == null ? null : schoolid.trim();
    }

    public String getSchoolname() {
        return schoolname;
    }

    public void setSchoolname(String schoolname) {
        this.schoolname = schoolname == null ? null : schoolname.trim();
    }

    public Date getCreatedTime() {
        return createdTime;
    }

    public void setCreatedTime(Date createdTime) {
        this.createdTime = createdTime;
    }

    public Date getUpdatedTime() {
        return updatedTime;
    }

    public void setUpdatedTime(Date updatedTime) {
        this.updatedTime = updatedTime;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark == null ? null : remark.trim();
    }
}
